package cn.itrip.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Setter;
import lombok.Getter;

/**
 * 酒店表
 * @auth chendd
 * @date 2020/12/25 08:58
 */
@Setter
@Getter
@ApiModel
@TableName("itrip_hotel")
public class ItripHotel {

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    @TableField("hotelName")
    @ApiModelProperty(value = "酒店名称")
    private String hotelName;

    @TableField("countryId")
    @ApiModelProperty(value = "所在国家id")
    private Long countryId;

    @TableField("provinceId")
    @ApiModelProperty(value = "所在省份id")
    private Long provinceId;

    @TableField("cityId")
    @ApiModelProperty(value = "所在城市id")
    private Long cityId;

    @TableField("address")
    @ApiModelProperty(value = "酒店所在地址")
    private String address;

    @TableField("details")
    @ApiModelProperty(value = "酒店介绍（保存附文本）")
    private String details;

    @TableField("facilities")
    @ApiModelProperty(value = "酒店设施")
    private String facilities;

    @TableField("hotelPolicy")
    @ApiModelProperty(value = "酒店政策")
    private String hotelPolicy;

    @TableField("hotelType")
    @ApiModelProperty(value = "酒店类型(1:国内酒店 2:国际酒店)")
    private Integer hotelType;

    @TableField("hotelLevel")
    @ApiModelProperty(value = "(1:经济酒店  2:二星级酒店  3:三星级 4:四星酒店 5星酒店)")
    private Integer hotelLevel;

    @TableField("isGroupPurchase")
    @ApiModelProperty(value = "是否是团购酒店")
    private Integer isGroupPurchase;

    @TableField("redundantCityName")
    @ApiModelProperty(value = "城市名称 冗余字段")
    private String redundantCityName;

    @TableField("redundantProvinceName")
    @ApiModelProperty(value = "省名称 冗余字段")
    private String redundantProvinceName;

    @TableField("redundantCountryName")
    @ApiModelProperty(value = "国家名称 冗余字段")
    private String redundantCountryName;

    @TableField("redundantHotelStore")
    @ApiModelProperty(value = "酒店库存（冗余，每天开定时任务的时候更新）")
    private Integer redundantHotelStore;

    @TableField("creationDate")
    @ApiModelProperty(value = "")
    private java.util.Date creationDate;

    @TableField("createdBy")
    @ApiModelProperty(value = "")
    private Long createdBy;

    @TableField("modifyDate")
    @ApiModelProperty(value = "")
    private java.util.Date modifyDate;

    @TableField("modifiedBy")
    @ApiModelProperty(value = "")
    private Long modifiedBy;

}
